package com.ruiyian.project.road.domain;

import com.ruiyian.common.annotation.Excel;
import com.ruiyian.common.core.domain.BaseEntity;
import com.ruiyian.common.core.domain.entity.Equipment;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

/**
 * @author chong
 * @email 673426164@qq.com
 * @create 2021/6/11
 * Desc: 方向
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Dire extends BaseEntity {
    private static final long serialVersionUID = 1L;
    private Long id;
    @Excel(name = "名称")
    private String name;

    private Long roadId;
    private String roadName;

    private String createBy;

    private String updateBy;

    private Integer direction; // 1正向2,反向
    private String startLongitude;
    private String startLatitude;
    private String endLongitude;
    private String endLatitude;
    private List<Equipment> equipmentList;


    private List<DirePoint> direPointList;

}
